Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Auto post



  The four key figures behind the success of JavaScript - Douglas Crockford

JavaScript's success can be attributed to at least four key figures: Brendan Eich, the creator of JavaScript Douglas Crockford, the creator of JSLint and JSON John Resig, the creator of jQuery Ryan Dahl, the creator of Node.js. We are already very familiar with Brendan Eich and the invention process of JavaScript, so let's start with Douglas Crockford, the second in command of JavaScript. Alliance In the 1990s, Microsoft's dominance overshadowed the whole world. At this time, two challengers e...

   JAVASCRIPT,DOUGLAS CROCKFORD,HISTORY     2023-05-07 06:42:30

  Find where the start up page is set in Firefox

Recently I encountered a weird behavior where a strange webpage showing up every time when I launched my Firefox. The first thought came into my mind is that my homepage of Firefox had been tampered. It might be changed because some software changed my browser settings to promote something. So the next immediate thing I went to check was to see my Firefox browser settings. To my surprise, the homepage setting was not touched. It would still open the Momentum screen which would display some beaut...

   WINDOWS,FIREFOX,HOMEPAGE,STARTUP PAGE,HAO123     2021-10-02 02:28:53

  Why (offset, limit) is slow in database select?

Starting from a problem Five years ago when I was working at Tencent, I found that MySQL request speed was very slow in the pagination scenario. With only 100,000 data, a select query on a single machine took about 2-3 seconds. I asked my mentor why, and he asked in return, "In an indexing scenario, what is the time complexity to get the nth largest number in MySQL?" The pursuit of the answer Confirming the scenario Assuming there is an index on the "status" column, a query like "select * from t...

   SLOW,LIMIT,OFFSET,MYSQL     2023-03-12 05:21:02

  How to check a port is taken by which program on Linux

Lots of you may have encountered some error message stating that the port has been taken by another program while trying to start a program on Linux. And you would want to know which program takes the port you want to use. This post will provide some feasible ways to check out which program is taking a specific port. lsof -i:[port] lsof is the command to list open files on Linux. And if you know more about Linux you should get to know everything on Linux is a file even including networ...

   LINUX,PORT,NETSTAT,LSOF     2018-08-12 04:27:57

  Google transferred a domain name to a Chinese company for free

Google just completed a domain transfer to another company in China. The interesting part is that this domain transfer is for free. The story begins with a recent tweet from the CEO Dash Huang of a Chinese game company called X.D. Network Inc who claims that they obtained the domain name taptap.cn from Google for free. From the tweet, Mr. Huang expressed his appreciation to Google for freely transferring the domain name taptap.cn to their company. Their company launched some product ...

   GOOGLE,TAPTAP.CN,TAPTAP     2021-09-29 11:17:18

  Fix SSL 'alert protocol version' issue while git clone remote repository

Git provides ways to securely connect to remote repository and clone remote repository to local machine. This post will teach you how to fix the "SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version" issue while cloning a remote repository. The issue would look like: If this error occurs, it is most probably caused by out of date git version being used.To improve its security awareness, some weak cryptographic algorithms have been disabled and all git clients should upgrade to latest ones to acc...

   GIT,GIT CLONE,GIT SECURITY     2018-07-08 05:41:39

  Install and enable redis extension in PHP 5.X on Windows

Redis is frequently used as a caching layer for web applications to improve its performance. In PHP 5.x, if one wants to use Redis, the redis extension needs to be installed and enabled first. This post will show how to install and enable redis extension on Windows with PHP 5.X. Basically there are two dlls to be downloaded: php_redis.dll and php_igbinary.dll. Below are detailed steps Go to http://windows.php.net/downloads/pecl/releases/redis/2.2.7/ and find the respective php_redis zip ma...

   PHP,WINDOWS,REDIS,PHP 5.6     2021-07-11 03:52:18

  Jack Ma shows up in Bangkok

...

   JACK MA,ALIBABA,BANGKOK,TOKYO     2023-01-06 23:50:00

  Why Math.min() > Math.max() is true in JavaScript

...

   JAVASCRIPT,MATH.MIN(),MATH.MAX(),COMPARISON     2022-05-02 05:27:07

  Encrypting and decrypting PGP file or text on MacOS

When doing data exchange among different parties, there is a frequent need of encrypting data or file and sending it to partner and asking partner to use corresponding key to decrypt the data or file. A famous way of exchanging data is using asymmetric keys where no secret key needs to be shared. One party can just use the public key shared by partner to encrypt the data and the other party uses the private key to decrypt the data. Today, we will introduce how to use PGP to encrypt and decrypt d...

   PGP,GPG,ENCRYPTION,DECRYPTION,TUTORIAL     2020-10-29 05:06:09